package com.ruoyi.mapper.jpjs.empchange;


import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface EmpChangeMapper {

    List<Map<String,Object>> list(Map map);
    Map<String,Object> findDataById(String id);
    Map<String,Object> findTotalNum(@Param("years") String years, @Param("months") String months, @Param("compList") List<Map<String, Object>> mapList);
    int add(Map map);
    int addOnJob(String oid);
    int addQuit(String oid);
    int addHuman(String oid);
    int addCzlrfy(String oid);

    String getIdByMonthYear(Map map);

    int edit(Map map);
    int remove(String ids);
    int findCompMonthIsNull(Map map);
    Integer findMonthEndNumByYearMonth(Map map);
    Integer findQuitCountByYearMonth(Map map);
    String findOid(@Param("years") String years, @Param("months") String months, @Param("compId") String compId);
    int monthEndNum(String id);



}
